﻿<%@ page pageEncoding="UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>网站后台内容管理系统登录界面</title>
    <meta name="viewport" content="width=device-width">
    <link href="../css/login.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../script/jquery-3.2.1.js"></script>
    <script type="text/javascript" src="../script/adminLogin.js"></script>
    <style type="text/css">
        #ld{
            margin-left: 266px;
            margin-top: 30px;
        }
        #ld a{
            text-decoration: none;
            color: rgba(0,255,160,0.6);
        }
    </style>
    <script type="text/javascript"></script>
</head>
<body>
<div class="login">
    <form action="../admin/login.action" method="post" id="myForm" onsubmit="return checkForm()">
        <div id="error1">
            <c:if test="${error != null}">
                ${error}
            </c:if>
        </div>
        <div class="logo"></div>

        <div class="login_form">

            <div class="user">
                <input class="text_value" name="name" type="text" id="name" placeholder="请输入用户名">
                <div class="error" id="name_error"></div>

                <input class="text_value" name="password" type="password" id="password" placeholder="请输入密码">
                <div class="error" id="psw_error"></div>
            </div>

            <input class="button" id="submit1" type="submit"/>
        </div>

    </form>

    <div id="ld"> <a href="../index.jsp">去首页</a> </div>
</div>

</body>

</html>